package com.example.helloworldspringboot.dao;


import com.example.helloworldspringboot.entity.Category;

import java.util.List;

public interface CategoryInterface {
//    定义管理中使用到的方法
    public int addCategory(Category category);
    public int deleteCategory(Category category);
    public int updateCategory(Category category);
    public Category queryCategory(Category category);
    public List<Category> queryAllCategory();

}
